package com.exam.role.model;


/**
 * RoleModule entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class RoleModule implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Role role;
	private Module module;

	// Constructors

	/** default constructor */
	public RoleModule()
	{
	}

	/** full constructor */
	public RoleModule(Role role, Module module)
	{
		this.role = role;
		this.module = module;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Role getRole()
	{
		return this.role;
	}

	public void setRole(Role role)
	{
		this.role = role;
	}

	public Module getModule()
	{
		return this.module;
	}

	public void setModule(Module module)
	{
		this.module = module;
	}

}